package com.rede.didiok.community.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rede.didiok.common.dto.community.UserMomentTopicDto;
import com.rede.didiok.community.entity.UserMomentTopicEntity;

/**
 * 用户话题表
 *
 * @author Rede
 * @email didiok@foxmail.com
 * @date 2023-09-06 18:35:22
 */
public interface UserMomentTopicService extends IService<UserMomentTopicEntity> {

    /***************************** admin:start **************************/
    // region  didiok-admin

    /**
     * 获取动态话题列表
     *
     * @param userMomentTopicVO
     * @return
     */
    IPage<UserMomentTopicEntity> getPageList(UserMomentTopicDto userMomentTopicVO);

    /**
     * 获取动态话题列表
     *
     * @param userMomentTopicVO
     * @return
     */
    UserMomentTopicEntity getDetailByUid(UserMomentTopicDto userMomentTopicVO);

    /**
     * 获取全部动态话题列表
     *
     * @return
     */
    List<UserMomentTopicEntity> getList();

    /**
     * 新增动态话题
     *
     * @param userMomentTopicVO
     */
    String addUserMomentTopic(UserMomentTopicDto userMomentTopicVO);

    /**
     * 编辑动态话题
     *
     * @param userMomentTopicVO
     */
    String editUserMomentTopic(UserMomentTopicDto userMomentTopicVO);

    /**
     * 批量删除动态话题
     *
     * @param userMomentTopicVOList
     */
    String deleteBatchUserMomentTopic(List<UserMomentTopicDto> userMomentTopicVOList);

    // endregion
    /***************************** admin:end **************************/



    /***************************** web:start **************************/
    // region didiok-web

    // endregion
    /***************************** web:end **************************/

}

